package com.dindang.ddm.mvp.model.entity;

import java.util.List;

/**
 * Created by cxw on & 2018/10/31
 */
public class NewsList {
    private List<News> news;

    public NewsList() {
    }

    public NewsList(List<News> news) {
        this.news = news;
    }

    public List<News> getNews() {
        return news;
    }

    public void setNews(List<News> news) {
        this.news = news;
    }

    public static class News {
        private long id;
        private String title;

        public News() {
        }

        public News(long id, String title) {
            this.id = id;
            this.title = title;
        }

        public long getId() {
            return id;
        }

        public void setId(long id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }
    }
}
